<?php
/**
 * cross site scripting protection
 * Usage:
 * $xss_protect = new Core_Controller_Xssprotection;
 * $variables = $xss_protection->main($variables);
 * 
 * @author astolarski
 *
 */
class Core_Controller_Xssprotection implements Core_Controller_Mainable {
	
	public $cross_site_scripting;
	
	public function __construct(){
		$this->cross_site_scripting = new Core_Model_Xssprotection;
	}
	
	public function main(array $variables = null){
		return $this->cross_site_scripting->main($variables);
	}
	
}